<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateAusersTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('ausers', function (Blueprint $table) {
            $table->increments('auser_id');
            $table->string('auser_name');
            $table->string('auser_password', 60);
            $table->tinyInteger('auser_sex');
            $table->tinyInteger('auser_auth');
            $table->string('auser_pic');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('ausers');
    }
}
